package com.kedacom.demo.modb.ap.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.kedacom.demo.modb.ap.dao.AccountDao;
import com.kedacom.demo.modb.ap.model.Account;

/**
 * 用户帐号管理实现
 * @author luocanfeng
 * @date 2013-1-14
 */
@Transactional
@Service("accountService")
public class AccountServiceImpl implements AccountService {

	@Resource
	private AccountDao accountDao;

	@Override
	public List<Account> listAll() {
		return accountDao.listAll();
	}

}
